package com.woniuxy.kaer.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID主键自增长
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 账号
     */
    @TableField("account")
    private String account;

    @TableField("password")
    private String password;

    /**
     * 电话号码
     */
    @TableField("mobile")
    private String mobile;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    @TableField("user_name")
    private String userName;

    /**
     * 用户积分
     */
    @TableField("point")
    private Integer point;

    /**
     * 身份证
     */
    @TableField("id_card")
    private String idCard;

    @TableField("QQ_open_id")
    private String qqOpenId;

    @TableField("head_path")
    private String headPath;
    /**
     * 经度
     */
    @TableField("local_longitude")
    private Double localLongitude;

    /**
     * 纬度
     */
    @TableField("local_latitude")
    private Double localLatitude;

    /**
     * 地址
     */
    @TableField("local_address")
    private String localAddress;


}
